package com.bnzj.core.util;

public final class FbConstant {
    /**
     * 数据未启用
     */
    public static final Short DB_DISABLE = 0;
    /**
     * 数据已启用
     */
    public static final Short DB_ENABLE = 1;
    /**
     * 换行符
     */
    public static final String LINE_SEPARATOR = System.getProperty("line.separator", "\n");

    /**
     * 管理员账号
     */
    public static final String ADMIN = "admin";

    /**
     * 系统全局分页每页条数
     */
    public static final int PAGE_SIZE = 20;
    /**
     * 系统全局日期格式化
     */
    public static final String YEAR_MONTH_FORMAT = "yyyy-MM";
    public static final String DATE_FORMAT = YEAR_MONTH_FORMAT + "-dd";
    public static final String DATESTR_FORMAT = "yyyyMMdd";
    /**
     * 系统全局日期时间格式化
     */
    public static final String DATETIME_FORMAT = DATE_FORMAT + " HH:mm:ss";

    /**
     * 系统全局日期时间格式化
     */
    public static final String DATETIME2_FORMAT = DATETIME_FORMAT + ".SSS";

    /**
     * 系统全局数据库短日期格式化
     */
    public static final String SQL_DATE_FORMAT = "%Y-%m-%d";

    /**
     * 系统全局数据库长日期格式化长
     */
    public static final String SQL_DATETIME_FORMAT = "%Y-%m-%d %H:%i:%s";
    
    

    /**
     * 系统全局编码
     */
    public static final String GLOBAL_ENCODE = "UTF-8";

    /**
     * 系统JSON格式
     */
    public static final String GLOBAL_CONTENT_TYPE = "application/json";
}
